package com.hksj.common.quartz.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class CronJobDTO {
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty(value = "任务名称")
    private String name;

    @ApiModelProperty(value = "任务分组名称")
    private String groupName;

    @ApiModelProperty(value = "任务类 手术室 = com.hksj.app.cron.OperatingRoomJob 辅房 = com.hksj.app.cron.OtherRoomJob")
    private String jobClass;

    @ApiModelProperty(value = "任务类型 11 = 开空调  12 = 开灯  21 = 关空调 22 = 关灯 ")
    private Integer type;

    @ApiModelProperty(value = "分")
    private String minute;

    @ApiModelProperty(value = "时")
    private String hour;

    @JsonIgnore
    @ApiModelProperty(value = "日期")
    private String day;

    @ApiModelProperty(value = "周")
    private String week;

    @ApiModelProperty("关联设备id列表")
    private List<String> deviceIdList;
}
